<table class="list_table">
	<thead>
		<tr style="text-align:center;">
			<th>ID</th>
			<th align="left"><%= t(:a_admin_name)%></th>
			<th align="left"><%= t(:a_admin_email)%></th>
			<th><%= t(:a_add_time)%></th>
			<th><%= t(:a_last_login_time)%></th>
			<th><%= t(:a_last_login_ip)%></th>
			<th><%= t(:a_mana_group)%></th>
			<th><%= t(:a_ctrl)%></th>
		</tr>
	</thead>
	<tbody>
		<% @admins.each_with_index do |admin, index|%>
		<tr style="text-align:center;">
			<td>1</td>
			<td align="left"><%= admin.login%></td>
			<td align="left"><%= admin.email%></td>
			<td><%= format_date(admin.created_at)%></td>
			<td><%= format_date(admin.last_login)%></td>
			<td><%= admin.last_ip%></td>
			<td><%= admin.try(:admin_group).try(:name)%></td>
			<td>
				<%= link_to t(:a_edit), {:controller => '/admin/member', :action => :edit_admin, :id => admin.id}%>
				<%= link_to_remote t(:a_dele), :url => {:controller => '/admin/member', :action => :destroy_admin, :id => admin.id}%>
			</td>
		</tr>
		<% end%>
		<%= will_paginate @admins%>
	</tbody>
</table>